package com.sitech.portal.server.service;


import com.sitech.ibnms.core.IPage;
import com.sitech.ibnms.core.PageForm;

import java.util.HashMap;
import java.util.List;

public interface INewsService {
    public void insertNews(HashMap<String,String> map);
    public IPage selectNewsList(HashMap map ,PageForm pageForm);
    public HashMap selectNews(String id);

    public void deleteNews(List<String> id,String login_id);

    public List selectUnReadNews(String userid);
    public void updateReadNews(String userid, List<String> id);
    public HashMap saveNewsFileDb(HashMap<String,String>  map);
    public void deleteNewsFileRel(String newsid,String fileid);

    public IPage selectHisNewsList(HashMap map ,PageForm pageForm);
    //标记已提示的公告
    public void updatePopNews(String userid,String id);

    public boolean canBeModify(String newsid);

}
